﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Doamin
{
    /// <summary>
    /// 养殖信息表
    /// </summary>
    public class Cultivation
    {
        [Key]
        public int CultivationId { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string Variety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int FeedingTime { get; set; }
        /// <summary>
        /// 饲养品牌
        /// </summary>
        public string Drand { get; set; }
        /// <summary>
        /// 饲养责任人
        /// </summary>
        public string FeedingName { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime OutTime { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int CommodityId { get; set; }
    }
}
